export interface ResultViewModel<T> {
  code: number;
  msg: T;
  reqUrl: string | null;
}

export interface LoginViewModel {
  access_token: string;
  expires_in: number;
  token_type: string;
  refresh_token: string;
  scope: string;
}

export interface RefreshTokenViewModel {
  id_token: string;
  access_token: string;
  expires_in: number;
  token_type: string;
  refresh_token: string;
  scope: string;
}

export interface CheckUserViewModel {
  username: string;
  roles: string;
}